package com.xin.di.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * @author LTQ
 */
@Data
@Validated
public class UpdateOrderInfoStatusRequest {

    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty("订单号")
    private String tcWaybillNo;

    @ApiModelProperty("订单状态")
    @NotNull(message = "订单状态不能为空")
    private Integer orderStatus;

    @ApiModelProperty(value = "用户id")
    private String processedBy;

    @ApiModelProperty("记录向平台组下单时如果异常的异常信息")
    private String wrongMsg;

    @ApiModelProperty("骑手名称")
    private String riderName;

    @ApiModelProperty("骑手电话")
    private String riderPhone;

    @ApiModelProperty("同城订单状态")
    private Byte status;

    @ApiModelProperty("骑手纬度")
    private Double latitude;

    @ApiModelProperty("骑手经度")
    private Double longitude;

    @ApiModelProperty("同城跑腿订单号")
    private String errandOrderSn;

    @ApiModelProperty("妥投照片url")
    private String submitPhotoUrl;

    @ApiModelProperty("0揽收，1派件")
    private Byte type;

}
